<html>
<head><meta charset="utf-8"><title>rustc bench test · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rustc.20bench.20test.html">rustc bench test</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="205314954"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/rustc%20bench%20test/near/205314954" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Folyd <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rustc.20bench.20test.html#205314954">(Jul 29 2020 at 03:27)</a>:</h4>
<p>Hello, I have a simple question. How to only run a rustc bench test with some prefix pattern? I use this command <code>./x.py bench --stage 1 src/libcore </code>, however, this would run all benchmarking tests in <code>libcore</code>, I only need to run some. I tried to append prefix pattern <code>./x.py bench --stage 1 src/libcore  -- binary_search</code>, it doesn't work though. :(</p>



<a name="205350294"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/rustc%20bench%20test/near/205350294" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rustc.20bench.20test.html#205350294">(Jul 29 2020 at 12:38)</a>:</h4>
<p>Does <code>--test-args</code> work for your use case?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>